package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * The type Separaless.
 */
public class Separaless extends Common implements Serializable {
    private static final long serialVersionUID = 348575033227308922L;
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    @TableField(value = "productId")
    private String productId;

    private Integer quantity;
    @TableField(value = "orderId")
    private String orderId;
    
    private Integer status;
    
    private Integer delete;

    /**
     * To string string.
     *
     * @return the string
     */
    @Override
    public String toString() {
        return "Separaless{" +
                "id='" + id + '\'' +
                ", productId='" + productId + '\'' +
                ", quantity=" + quantity +
                ", orderId='" + orderId + '\'' +
                ", status=" + status +
                ", delete=" + delete +
                '}';
    }

    /**
     * Gets serial version uid.
     *
     * @return the serial version uid
     * @author overlook
     * @date 2022 -04-16 20:32:06
     */
    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    /**
     * Gets id.
     *
     * @return the id
     * @author overlook
     * @date 2022 -04-16 20:32:06
     */
    public String getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     * @author overlook
     * @date 2022 -04-16 20:32:06
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets product id.
     *
     * @return the product id
     * @author overlook
     * @date 2022 -04-16 20:32:06
     */
    public String getProductId() {
        return productId;
    }

    /**
     * Sets product id.
     *
     * @param productId the product id
     * @author overlook
     * @date 2022 -04-16 20:32:06
     */
    public void setProductId(String productId) {
        this.productId = productId;
    }

    /**
     * Gets quantity.
     *
     * @return the quantity
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public Integer getQuantity() {
        return quantity;
    }

    /**
     * Sets quantity.
     *
     * @param quantity the quantity
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    /**
     * Gets order id.
     *
     * @return the order id
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * Sets order id.
     *
     * @param orderId the order id
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * Gets status.
     *
     * @return the status
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * Sets status.
     *
     * @param status the status
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * Gets delete.
     *
     * @return the delete
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public Integer getDelete() {
        return delete;
    }

    /**
     * Sets delete.
     *
     * @param delete the delete
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    /**
     * Instantiates a new Separaless.
     *
     * @param id        the id
     * @param productId the product id
     * @param quantity  the quantity
     * @param orderId   the order id
     * @param status    the status
     * @param delete    the delete
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public Separaless(String id, String productId, Integer quantity, String orderId, Integer status, Integer delete) {
        this.id = id;
        this.productId = productId;
        this.quantity = quantity;
        this.orderId = orderId;
        this.status = status;
        this.delete = delete;
    }

    /**
     * Instantiates a new Separaless.
     *
     * @author overlook
     * @date 2022 -04-16 20:32:07
     */
    public Separaless() {
    }
}

